package models

import "gorm.io/gorm"

type Good struct {
	gorm.Model
	Name string `gorm:"type:varchar(30)"`
	Num  int    `gorm:"type:int"`
}
type User struct {
	gorm.Model
	Username string `gorm:"type:varchar(30)"`
	Password string `gorm:"type:varchar(50)"`
}
type Types struct {
	gorm.Model
	Name string `gorm:"type:varchar(30)"`
	Gid  int    `gorm:"type:int"`
}
type GoodTypes struct {
	gorm.Model
	Gid int `gorm:"type:int"`
	Tid int `gorm:"type:int"`
}
